{extend name='admin@main'}

{block name="content"}
<div class="think-box-shadow">
    {include file='currency/detail_search'}
    {notempty name='list'}
    {volist name ='list' id='vo'}


    <div class="layui-row layui-col-space14">

        <table class="layui-table margin-top-10" lay-skin="line" style="width: 50%;float: left;">
            <thead>
            <tr>
                <th colspan="2" class="text-left nowrap">
                    {$vo.receive.title}明细
                </th>
            </tr>

            </thead>
            <tbody>
            {foreach $vo.receive.types as $key2=>$vo2}
            <tr>
                {if condition = "$key2 == '房间外' or $key2 == '房间内' or $key2 == '游戏充值'"}
                <td class='text-left nowrap color-blue'>{$key2}</td>
                <td class='text-left nowrap color-blue'>{$vo2}</td>
                {else/}
                <td class='text-left nowrap'>{$key2}</td>
                <td class='text-left nowrap'>{$vo2}</td>
                {/if}
            </tr>
            {/foreach}
            </tbody>
        </table>

        <table class="layui-table margin-top-10" lay-skin="line" style="width: 50%;float: left;">
            <thead>
            <tr>
                <th colspan="2" class="text-left nowrap">
                    {$vo.consume.title}明细
                </th>
            </tr>

            </thead>
            <tbody>
            {foreach $vo.consume.types as $key2=>$vo2}
            <tr>
                {if condition = "$key2 == '房间外' or $key2 == '房间内' or $key2 == '游戏充值'"}
                <td class='text-left nowrap color-blue'>{$key2}</td>
                <td class='text-left nowrap color-blue'>{$vo2}</td>
                {else/}
                <td class='text-left nowrap'>{$key2}</td>
                <td class='text-left nowrap'>{$vo2}</td>
                {/if}
            </tr>
            {/foreach}


            </tbody>
        </table>
    </div>
    {/volist}
    {/notempty}

</div>
{/block}
